#pragma once
#include "twtexturemgr.h"
#include <map>
#include <string>

class TwTexture;
using namespace std;
class TwTextureMgrDx :
	public TwTextureMgr
{
public:
	TwTextureMgrDx(void);
	~TwTextureMgrDx(void);
	TwTexture*				 CreateTexture(const char* pkPath) ;
	TwTexture*				 FindTeture(const char* pkPath) ;
	const TwTexture*		 GetTexByID(const UINT32 uID)const ;

	void					 Destroy();

private:
	map<string,TwTexture*> m_mapTexture;
	UINT32				   m_uTexID;
};
